Skip to content

Comments

docs: add OpenCode and GitHub Copilot CLI platform details#11

Merged
nhorton merged 1 commit intomainfrom
planned-opencode
Jan 13, 2026
Merged

docs: add OpenCode and GitHub Copilot CLI platform details#11
nhorton merged 1 commit intomainfrom
planned-opencode

Conversation

@tylerwillis
Copy link
Contributor

Summary

  • Added OpenCode to the supported platforms table with command format (Markdown) and hooks support (No)
  • Updated GitHub Copilot CLI entry with command format (Markdown) and hooks support (tool permissions only)

Based on research of both platforms' documentation:

  • OpenCode: Uses Markdown files in .opencode/command/, no lifecycle hooks
  • GitHub Copilot CLI: Uses Markdown agents in .github/agents/, has tool permissions but no pre/post execution hooks

Test plan

  • Verify table renders correctly in README

🤖 Generated with Claude Code

Add command format and hooks support information for planned platforms:
- OpenCode: Markdown commands, no hooks support
- GitHub Copilot CLI: Markdown commands, tool permissions only (no lifecycle hooks)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@tylerwillis
Copy link
Contributor Author

@nhorton fyi - I asked claude to research hook availability and command format, but I haven't yet validated whether the information there is correct. Here's the output on the research:

Key Findings

OpenCode:

  • Commands stored in .opencode/command/ as Markdown files
  • Similar pattern to Claude Code (filename = command name)
  • No hooks/lifecycle events - commands execute synchronously
  • Has agents system with permission controls but no pre/post execution hooks

GitHub Copilot CLI:

  • Custom agents in .github/agents/ as Markdown with YAML frontmatter
  • Tool permissions (--allow-tool, --deny-tool) provide some control
  • No lifecycle hooks - known issues where git hooks cause agent to fail
  • MCP server support for extensibility but not command-level hooks

Both platforms use Markdown for commands but neither has the rich hooks system that Claude Code offers (stop_hooks, pre_tool_execution, post_tool_execution).

Here are the source URLs from the research:

OpenCode:

GitHub Copilot CLI:

@nhorton nhorton merged commit f660d1c into main Jan 13, 2026
1 check passed
@tylerwillis tylerwillis deleted the planned-opencode branch January 15, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants